package cn.accp.mvc.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.accp.mvc.dao.TypesDao;
import cn.accp.mvc.entity.Types;
import cn.accp.mvc.service.TypesService;
@Service("typesService")
public class TypesServiceImpl implements TypesService {
	@Autowired
	private TypesDao typesDao;
	public void setTypesDao(TypesDao typesDao) {
		this.typesDao = typesDao;
	}
	@Override
	public List<Types> getAllTypes() {
		return typesDao.getAllTypes();
	}
	
}
